<!doctype html>
<html>
<head>
{include file="user/user_top.tpl"}
<link rel="stylesheet" type="text/css" href="/static/css/user_min.css?v={$smarty.const.UNCLONE_VERSION}">
</head>
<body>
{include file="user/user_header.tpl"}
<div class="main_wrap">
	<div class="user_reg user_user_info">
		<h2 class="model">用户资料</h2>
		<div class="uploadbox clearfix">
			<div class="upload fl user_img">
				{if !isset($image) || !$image}
				<a href="/user/user_info"><img src="/static/img/default.gif"></a>
				{else}
				<a href="/user/user_info"><img src="{$image}"></a>
				{/if}
			</div>
			<div class="upload_text fl">
				<h2>{$email}</h2>
				<div class="eidtbox">
					<a class="edit_profile" href="/user/user_info">修改资料<i class="user_icons"></i></a>
					<a class="edit_pwd" href="/user/update_pwd">修改密码<i class="user_icons"></i></a>
				</div>
			</div>
		</div>
		<div class="formbox">
			<div class="item clearfix">
				<div class="icon user_icons fl nickname_icon">icon</div>
				<div class="fl">
					<label class="field" for="nickname">昵称</label>
					<div class="write">
						<span class="data">{if isset($nickname)}{$nickname}{/if}</span>
					</div>
				</div>
			</div>
			<div class="item clearfix">
				<div class="icon user_icons fl companyname_icon">icon</div>
				<div class="fl">
					<label class="field" for="company_name">公司名称</label>
					<div class="write">
						<span class="data">{if isset($company_name)}{$company_name}{/if}</span>
					</div>
				</div>
			</div>
			<div class="item clearfix">
				<div class="icon user_icons fl mobile_icon">icon</div>
				<div class="fl">
					<label class="field" for="mobile">手机</label>
					<div class="write">
						<span class="data">{if isset($mobile)}{$mobile}{/if}</span>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<img class="lbbg" src="/static/img/user/bg1.png"/>

{include file="user/user_footer.tpl"}
